.photo-studio-container {
  box-sizing: border-box;
  min-height: 500px;
  padding: 16px;
}
.upload-container {
  box-sizing: border-box;
  box-shadow: 0 2px 5px 0 rgba(22, 45, 61, 0.12), 0 0 7px 0 rgba(22, 45, 61, 0.12);
  border-radius: 6px;
  margin: 20px auto;
  width: 100%;
  min-height: inherit;
  border-radius: 6px;
  display: flex;
}
.upload-container-input {
  box-sizing: border-box;
  position: relative;
  border: 1px dashed #e0e0e0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.upload-container-input > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.upload-container-input input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  text-align: center;
}
.upload-container-input svg {
  font-size: 40px;
  color: #909399;
}
.upload-container-input p {
  margin-top: 10px;
  font-size: 14px;
  color: #909399;
}
.preview-control-container {
  position: relative;
  box-sizing: border-box;
  min-height: inherit;
  margin: 30px 80px;
  border: 1px dashed #e0e0e0;
}
.preview-container canvas {
  width: 100%;
  height: 100%;
}
.control-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #e0e0e0;
  z-index: 1;
}
.control-container span {
  width: 15px;
  height: 15px;
  position: absolute;
}
span.tl {
  border-left: 4px solid #308ddd;
  border-top: 4px solid #308ddd;
  left: -4px;
  top: -4px;
  cursor: nw-resize;
}
span.tc {
  border-top: 4px solid #308ddd;
  left: calc(50% - 7.5px);
  top: -4px;
  cursor: n-resize;
}
span.tr {
  border-right: 4px solid #308ddd;
  border-top: 4px solid #308ddd;
  right: -4px;
  top: -4px;
  cursor: ne-resize;
}
span.ml {
  border-left: 4px solid #308ddd;
  left: -4px;
  top: calc(50% - 7.5px);
  cursor: w-resize;
}
span.mr {
  border-right: 4px solid #308ddd;
  right: -4px;
  top: calc(50% - 7.5px);
  cursor: e-resize;
}
span.bl {
  border-left: 4px solid #308ddd;
  border-bottom: 4px solid #308ddd;
  bottom: -4px;
  left: -4px;
  cursor: sw-resize;
}
span.bc {
  border-bottom: 4px solid #308ddd;
  bottom: -4px;
  left: calc(50% - 7.5px);
  cursor: s-resize;
}
span.br {
  border-right: 4px solid #308ddd;
  border-bottom: 4px solid #308ddd;
  right: -4px;
  bottom: -4px;
  cursor: se-resize;
}
span.inline {
  width: 24px;
  height: 24px;
}
.show {
  display: block;
}
.hide {
  display: none;
}
